package com.ruoyi.common.constant;

public enum RedisEnum {

    QINIU_UP_TOKEN("七牛云token", "qiniu_up_token_", 24*3600L),
    WORD_DETAILS_VOC_("单词详情", "word_detail_", 24*3600L),
    WORD_WITH_PRONOUNCE_("单词-带发音", "word_pronounce_", 24*3600L);

    private String key;
    private String desc;
    private Long expire;

    RedisEnum(String desc,String key,Long expire){
        this.key = key;
        this.desc=desc;
        this.expire = expire;
    }
    public String getKey() {
        return key;
    }
    public void setKey(String key) {
        this.key = key;
    }
    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }
    public Long getExpire() {
        return expire;
    }
    public void setExpire(Long expire) {
        this.expire = expire;
    }
}
